package com.niguang.labour.admin.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_app_user_details")
public class WorkAppUserDetails extends Model<WorkAppUserDetails> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 用户编号
     */
	@TableField("user_id")
	private Long userId;
    /**
     * 姓名
     */
	@TableField("user_name")
	private String userName;
    /**
     * 头像
     */
	@TableField("user_pic")
	private String userPic;
    /**
     * 身份证编号
     */
	@TableField("user_id_card")
	private String userIdCard;
    /**
     * 身份证正面
     */
	@TableField("id_card_front")
	private String idCardFront;
    /**
     * 身份证反面
     */
	@TableField("id_card_back")
	private String idCardBack;
    /**
     * 手持身份证
     */
	@TableField("id_card_handheld")
	private String idCardHandheld;
    /**
     * 地址id
     */
	@TableField("area_id")
	private Integer areaId;
    /**
     * 地址
     */
	@TableField("area_name")
	private String areaName;
    /**
     * 详细地址
     */
	@TableField("addr_details")
	private String addrDetails;
    /**
     * 培训信息 1-有 2-无
     */
	@TableField("user_train")
	private String userTrain;
    /**
     * 文化程度
     */
	@TableField("user_degree")
	private Integer userDegree;
    /**
     * 技能等级
     */
	@TableField("skill_level")
	private Integer skillLevel;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 删除标识0-未删除 1-已删除
     */
	@TableField("del_flag")
	private Integer delFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPic() {
		return userPic;
	}

	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}

	public String getUserIdCard() {
		return userIdCard;
	}

	public void setUserIdCard(String userIdCard) {
		this.userIdCard = userIdCard;
	}

	public String getIdCardFront() {
		return idCardFront;
	}

	public void setIdCardFront(String idCardFront) {
		this.idCardFront = idCardFront;
	}

	public String getIdCardBack() {
		return idCardBack;
	}

	public void setIdCardBack(String idCardBack) {
		this.idCardBack = idCardBack;
	}

	public String getIdCardHandheld() {
		return idCardHandheld;
	}

	public void setIdCardHandheld(String idCardHandheld) {
		this.idCardHandheld = idCardHandheld;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAddrDetails() {
		return addrDetails;
	}

	public void setAddrDetails(String addrDetails) {
		this.addrDetails = addrDetails;
	}

	public String getUserTrain() {
		return userTrain;
	}

	public void setUserTrain(String userTrain) {
		this.userTrain = userTrain;
	}

	public Integer getUserDegree() {
		return userDegree;
	}

	public void setUserDegree(Integer userDegree) {
		this.userDegree = userDegree;
	}

	public Integer getSkillLevel() {
		return skillLevel;
	}

	public void setSkillLevel(Integer skillLevel) {
		this.skillLevel = skillLevel;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public static final String ID = "id";

	public static final String USER_ID = "user_id";

	public static final String USER_NAME = "user_name";

	public static final String USER_PIC = "user_pic";

	public static final String USER_ID_CARD = "user_id_card";

	public static final String ID_CARD_FRONT = "id_card_front";

	public static final String ID_CARD_BACK = "id_card_back";

	public static final String ID_CARD_HANDHELD = "id_card_handheld";

	public static final String AREA_ID = "area_id";

	public static final String AREA_NAME = "area_name";

	public static final String ADDR_DETAILS = "addr_details";

	public static final String USER_TRAIN = "user_train";

	public static final String USER_DEGREE = "user_degree";

	public static final String SKILL_LEVEL = "skill_level";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkAppUserDetails{" +
			"id=" + id +
			", userId=" + userId +
			", userName=" + userName +
			", userPic=" + userPic +
			", userIdCard=" + userIdCard +
			", idCardFront=" + idCardFront +
			", idCardBack=" + idCardBack +
			", idCardHandheld=" + idCardHandheld +
			", areaId=" + areaId +
			", areaName=" + areaName +
			", addrDetails=" + addrDetails +
			", userTrain=" + userTrain +
			", userDegree=" + userDegree +
			", skillLevel=" + skillLevel +
			", createTime=" + createTime +
			", delFlag=" + delFlag +
			"}";
	}
}
